require("../../assets/css/reset.css");
require("../../assets/css/normalize.css");
require("../../assets/css/basic.css");
require("../../assets/css/property.css");
require("./ad.less");

let dom = require("../../assets/js/util.js");
// 页面加载
document.addEventListener("DOMContentLoaded", function () {
	// 倒计时
	let num = 10;
	setInterval(function () {
		num--;
		dom.$("#adCount").textContent = num;
		if (num === 0) {
			location.href = "login.html";
		}
	}, 1000);
});
